package com.cloudkinto.service.event.order;

import com.cloudkinto.entity.PlatformOrderPackageDetailDo;
import lombok.Data;

import java.util.List;

/**
 * @author long
 * @Description 订单分包事件
 * @Date 2025/2/10 14:16
 */
@Data
public class OrderSubcontractEvent {

    /**
     * 平台单号
     */
    private String platformOrderNo;

    private Long outId;

    /**
     * 分包明细
     */
    private List<PlatformOrderPackageDetailDo> platformOrderPackageDetailDoList;

    public OrderSubcontractEvent(String platformOrderNo, Long outId, List<PlatformOrderPackageDetailDo> oneOrderPackDetailDoList) {
        this.platformOrderNo = platformOrderNo;
        this.outId = outId;
        this.platformOrderPackageDetailDoList = oneOrderPackDetailDoList;
    }
}
